<?php echo '<?xml version="1.0" encoding="utf-8"?>'."\n" ?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Latest published posts in french and english</title>
  <subtitle>This feed contains the latest published post in both languages: french and english.</subtitle>
  <link href="<?php echo url_for('rss_all_posts', array('sf_format' => 'atom'), true) ?>" rel="self"/>
  <updated><?php echo date(DATE_ATOM) ?></updated>
  <author>
    <name><?php echo sfConfig::get('app_feeds_author') ?></name>
    <email><?php echo sfConfig::get('app_feeds_email') ?></email>
  </author>
  <id><?php echo url_for('rss_last_posts', array('sf_format' => 'atom'), true) ?></id>
  <?php foreach ($pager->getResults() as $post) : ?>
    <?php include_partial('entry', array('post' => $post)) ?>
  <?php endforeach ?>
</feed>